/*
 * @Author: guo wei
 * @LastEditors: [guo wei]
 * @LastEditTime: 2024-01-15 21:36:40
 * @Description: 
 */
import request from '@/utils/request'

// 查询定时任务调度列表
export function getMatchInfos(query) {
  return request({
    url: '/matchInfos',
    method: 'get',
    params: query
  })
}
// 新增匹配信息
export function addMatchInfo(data) {
  return request({
    url: `/matchInfo`,
    method: 'post',
    data
  })
}
// 查询匹配信息
export function getMatchInfo(query) {
  return request({
    url: `/matchInfo/${query}`,
    method: 'get',
  })
}
// 修改匹配信息
export function modifyMatchInfo(data) {
  return request({
    url: `/matchInfo`,
    method: 'put',
    data
  })
}
// 删除匹配信息
export function deleteMatchInfo(data) {
  return request({
    url: `/matchInfo/${data.matchInfoId}`,
    method: 'delete',
       params:{recordVersion:data.recordVersion}
  })
}